Skip to content

Conversation

@suzit-10
Copy link
Contributor

@suzit-10 suzit-10 commented Sep 24, 2025

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation
  • πŸ§‘β€πŸ’» Refactor
  • βœ… Test
  • πŸ€– Build or CI
  • ❓ Other (please specify)

Describe this PR

This PR addresses the flakiness in the UsersList and teams edit test cases.
The root cause was the inconsistent rendering of the pop-up triggered by the table rows due to asynchronous TanStack Table rendering and team edit form details.

Changes made:

  • Ensured test setup waits for loading animation to disappear and rows/triggers to be fully rendered.
  • Replaced waitFor(getBy...) with findByTestId for stable async querying.
  • Used queryByTestId instead of stale references when validating popup unmount.
  • Introduce test retries for better handling of intermittent failure

@sonarqubecloud
Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@ramyaragupathy ramyaragupathy requested a review from emi420 November 4, 2025 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants